<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>sean.j.crowley - The Mobile Teaching Assistant&#39;s
Assistant</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel=stylesheet href="style.css" type="text/css">

</head>

<body id="twocolumn-left">
<div id="container">

<div class="wrapper">
<div id="header">
<div class="wrapper">
<h1 id="page-title">
<div id='g_title'>
<div style="text-align: center;">The Mobile Teaching Assistant's
Assistant<br>
</div>
</div>
</h1>
<div style="clear: both"></div>
<p class="description" />
<div id='g_description'>
<p style="text-align: center;" />| <a href="index.html">Home</a> | <a
	href="http://www.ucd.ie">ucd.ie</a> | <a href="requests.jsp">Student
Requests</a> |<br>
</div>
<div style="clear: both"></div>
</div>
</div>
<!-- /wrapper --><!-- /header -->
<div id="main-content"><f:view>
	<f:loadBundle basename="com.googlecode.project.properties.messages"
		var="msg" />

	<h:form id="loginForm">
		<table>
			<tbody>
				<tr>
					<td><h:outputText value="#{msg.user_name_label}" /></td>
					<td><h:inputText id="userName" value="#{userBean.userName}"
						required="true">
						<f:validateLength minimum="1" />
					</h:inputText></td>
				</tr>
				<tr>
					<td><h:outputText value="#{msg.user_password_label}" /></td>
					<td><h:inputSecret id="password" value="#{userBean.password}"
						required="true">
						<f:validateLength minimum="3" />
					</h:inputSecret></td>
				</tr>
				<tr>
					<td colspan="2"><h:messages
						style="font-weight: bold; color: #FF0000;" /></td>
				</tr>
				<tr>
					<td align="right" colspan="2"><h:commandButton id="submit"
						action="#{userBean.loginUser}" value="#{msg.login_button_label}" />
					</td>
				</tr>
			</tbody>
		</table>
	</h:form>
</f:view>
<div class="wrapper">
<div class="content-item">
<div id='g_body'>
<p style="text-align: justify; font-family: verdana;"></p>
</div>
</div>
<div style="clear: both"></div>
</div>
</div>
<!-- /wrapper --><!-- /main-content -->
<div id="sidebar">
<div class="wrapper">

<div class="links">

<div class="wrapper">
<div id='g_sidebar'>
<p style="text-align: justify;"><span style="font-family: verdana;"></span><br>
</p>
</div>
</div>
<div style="clear: both"></div>
</div>
<!-- /wrapper --><!-- /links --></div>

</div>
<!-- /wrapper --><!-- /sidebar -->

<div id="footer">
<div class="wrapper">
<hr />
<p>
<div id='g_footer'>
<p style="text-align: center;" />UCD School of Computer Science &
Informatics <br>
</div>
<div style="clear: both"></div>
</div>
</div>
<!-- /wrapper --><!-- /footer --></div>
</div>

<!-- /wrapper -->
<!-- /container -->

<div id="extraDiv1"><span></span></div>
<div id="extraDiv2"><span></span></div>
<div id="extraDiv3"><span></span></div>
<div id="extraDiv4"><span></span></div>
<div id="extraDiv5"><span></span></div>
<div id="extraDiv6"><span></span></div>

</body>
</html>